package org.aphelie.chronicle.i18n;

import org.aphelie.chronicle.ArcMessageFormat;

public enum ChronicleMessageFormat implements ArcMessageFormat {

	LABEL("ArcElement_%s_Label");
	
	private String pattern;
	
	private ChronicleMessageFormat(String pattern) {
		this.pattern = pattern;
	}
	
	public String getKey(String id) {
		return String.format(pattern, id);
	}
	
}
